package com.coocaa.ops.api.v1.health;

import com.coocaa.ops.common.core.base.model.R;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;

/**
 * @author tangminghong
 * @date 2020-03-20 09:43
 */

@RestController
public class HealthController {
    /**
     * 健康检查接口
     * @param request
     * @return
     */
    @RequestMapping("/healthz")
    public R getValByKey(HttpServletRequest request) {
        return R.ok();
    }
}

